package app.texas.com.devilfishhouse.View.login;


import app.texas.com.devilfishhouse.Base.BaseModel;
import app.texas.com.devilfishhouse.Beans.LoginBean;

import static android.os.AsyncTask.execute;

/**
 * Created by lenovo on 2018/5/21.
 */


public class LoginModel extends BaseModel {

    @Override
    public void getData(String params, final ICallBack callBack) {
        execute(new Runnable() {
            @Override
            public void run() {
                LoginBean loginBean = new LoginBean();
//                loginBean.setMsg("登录成功");
                callBack.onResult(loginBean);
            }
        });
    }

    /**
     * 保存数据
     */
    public void saveData() {

    }

    /**
     * 清楚数据
     */
    public void clearData() {

    }
}
